import { createApp } from "vue";
import App from "./App.vue";
// import { components, plugins } from "./element";
// import icons from "./icons";
import router from "./router";
import store from "./store";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import "./styles/global.scss";
import { ElLoading } from 'element-plus'

const app = createApp(App);
app.use(router).use(store).use(ElLoading);
app.use(ElementPlus)
// components.forEach((component) => {
//   app.component(component.name, component);
// });
// icons.forEach((icon) => {
//   app.component(icon.name, icon);
// });

// plugins.forEach((plugin) => {
//   app.use(plugin);
// });
app.mount("#app");
